package com.itlong.cloud.equip.sdk;


import com.itlong.cloud.POJO.PO.HotParamFlowRule;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient(name = "project-service")
public interface IHotParamFlowRuleClient {

    @PostMapping(path = "sdkServer/getHotParamFlowRule")
    List<HotParamFlowRule> getHotParamFlowRule(@RequestBody Map<String, Object> param);


    @PostMapping(path = "sdkServer/HotParamFlowRule/save")
     Integer save(@RequestBody HotParamFlowRule hotParamFlowRule);


    @PostMapping(path = "sdkServer/getFlowRuleByParam")
    HotParamFlowRule getFlowRuleByParam(@RequestBody Map<String, Object> param);


}
